package com.heima.model.user.pojos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * APP用户私信信息表
 *
 * @TableName ap_user_letter
 */
@TableName(value = "ap_user_letter")
@Data
public class ApUserLetter implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableField(value = "id")
    private Object id;
    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    private Object userId;
    /**
     * 发送人ID
     */
    @TableField(value = "sender_id")
    private Object senderId;
    /**
     * 发送人昵称
     */
    @TableField(value = "sender_name")
    private String senderName;
    /**
     * 私信内容
     */
    @TableField(value = "content")
    private String content;
    /**
     * 是否阅读
     */
    @TableField(value = "is_read")
    private Integer isRead;
    /**
     * 创建时间
     */
    @TableField(value = "created_time")

    private Date createdTime;
    /**
     * 阅读时间
     */
    @TableField(value = "read_time")

    private Date readTime;
}